#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	char c = 'A';
	if ('0' <= c <= '9') printf("YES");
	else printf("NO");
	return 0;
}